.form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

.form-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.form-header h3 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    height: 45px;
    font-size: 16px;
}

.text-danger {
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.btn-container {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 30px;
    font-size: 16px;
}

.btn-back {
    background-color: #6c757d;
    color: white;
}

.btn-back:hover {
    background-color: #5a6268;
    color: white;
}

/* 美化原生日期框 */
input[type="date"].birthday-picker {
    position: relative;
    padding-right: 36px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 45px;
    font-size: 16px;
}

input[type="date"].birthday-picker:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,.15);
    outline: none;
}

input[type="date"].birthday-picker::-webkit-input-placeholder { color: #bbb; }
input[type="date"].birthday-picker:-ms-input-placeholder { color: #bbb; }
input[type="date"].birthday-picker::placeholder { color: #bbb; }

/* 隐藏原生icon，添加自定义icon */
input[type="date"].birthday-picker::-webkit-calendar-picker-indicator {
    opacity: 0;
    z-index: 2;
}

input[type="date"].birthday-picker {
    background: #fff url("data:image/svg+xml,%3Csvg width='20' height='20' fill='gray' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1zm2-1V2h8v1H3z'/%3E%3C/svg%3E") no-repeat right 12px center/24px 24px;
}

/* 设置日期格式为年-月-日 */
input[type="date"].birthday-picker::-webkit-datetime-edit {
    padding: 0;
}

input[type="date"].birthday-picker::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

input[type="date"].birthday-picker::-webkit-datetime-edit-text {
    padding: 0 2px;
    color: #666;
}

input[type="date"].birthday-picker::-webkit-datetime-edit-year-field,
input[type="date"].birthday-picker::-webkit-datetime-edit-month-field,
input[type="date"].birthday-picker::-webkit-datetime-edit-day-field {
    padding: 0 2px;
    color: #333;
}

/* 设置日期选择器的语言为中文 */
input[type="date"].birthday-picker::-webkit-calendar-picker-indicator {
    opacity: 0;
    z-index: 2;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
